public class Animal {
    protected String name;

    public Animal(String name){
        this.name = name;
    }

}